package com.mtx.iocHomeWork.interfaceInjection;

import com.mtx.iocHomeWork.IGeLi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class InterfaceInjectionMoAttack implements ActorArrangable{
    private IGeLi geLi;
    @Override
    @Autowired
    public void injectGeli(IGeLi geLi) {
        this.geLi = geLi;
    }
    public String cityGateAsk(){
        return geLi.GeLiName()+"接口注入,墨者革离!";
    }


}
